package com.can.constant;

public class SystemConstants
{
    /**
     *  redis 博客登录前缀
     */
    public static final String BLOG_LOGIN_REDIS_PREFIX = "bloglogin:";
    /**
     *  redis 后台登录前缀
     */
    public static final String ADMIN_LOGIN_REDIS_PREFIX = "adminlogin:";
    /**
     *  redis 文章浏览量
     */
    public static final String  ARTICLE_VIEWCOUNT_REDIS_PREFIX= "article:viewCount";
    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     *  文章是正常分布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;
    /**
     *  分类状态
     */
    public static final Integer STATUS_NORMAL = 0;
    /**
     * 友链状态为审核通过
     */
    public static final String  LINK_STATUS_NORMAL = "0";
    /**
     * 评论类型为：文章评论
     */
    public static final String ARTICLE_COMMENT = "0";
    /**
     * 评论类型为：友联评论
     */
    public static final String LINK_COMMENT = "1";
    /**
     * 菜单
     */
    public static final String MENU = "C";
    /**
     * 按钮
     */
    public static final String BUTTON = "F";
    /**
     * 后台用户
     */
    public static final String ADMIN = "1";

}